package cn.hxzy.common.domain.vo;

import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author lishiyan
 * @since 2024-06-29         14:35:04 星期六
 */
public class UserLoginVo {

    @NotBlank
    @Size(min = 6, max = 12, message = "用户名长度在6-12之间")
    private String username;
    @NotBlank
    @Size(min = 6, max = 16, message = "用户密码长度在6-16之间")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
